package com.ruoyi.project.jiaqin.advertcontract.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 广告合同对象 jiaqin_advert_contract
 * 
 * @author LCL
 * @date 2021-10-28
 */
public class JiaqinAdvertContract extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 合作类型ID */
    @Excel(name = "合作类型ID")
    private String cooperateId;

    /** 广告名 */
    @Excel(name = "广告名")
    private String cooperateName;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String memberId;

    /** 用户名 */
    @Excel(name = "用户名")
    private String memberName;

    /** 用户类型：0-普通 1-企业 2-其他 */
    @Excel(name = "用户类型：0-普通 1-企业 2-其他")
    private Integer memberType;

    /** 企业名 */
    @Excel(name = "企业名")
    private String companyName;

    /** 合同标题 */
    @Excel(name = "合同标题")
    private String title;

    /** 类型 */
    @Excel(name = "类型")
    private Integer type;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 合同内容 */
    @Excel(name = "合同内容")
    private String content;

    /** 状态：0-未付款 1-已付款 */
    @Excel(name = "状态：0-未付款 1-已付款")
    private Integer status;

    /** 支付单编号 */
    @Excel(name = "支付单编号")
    private String outTradeNo;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNo;

    /** 相关资源ID */
    @Excel(name = "相关资源ID")
    private String resId;

    /** 是否同意合同：0-否 1-是 */
    @Excel(name = "是否同意合同：0-否 1-是")
    private Integer isAgree;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 修改时间 */
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /** 删除标记：0-正常 1-删除 */
    private Integer delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCooperateId(String cooperateId) 
    {
        this.cooperateId = cooperateId;
    }

    public String getCooperateId() 
    {
        return cooperateId;
    }
    public void setCooperateName(String cooperateName)
    {
        this.cooperateName = cooperateName;
    }

    public String getCooperateName()
    {
        return cooperateName;
    }
    public void setMemberId(String memberId) 
    {
        this.memberId = memberId;
    }

    public String getMemberId() 
    {
        return memberId;
    }
    public void setMemberName(String memberName) 
    {
        this.memberName = memberName;
    }

    public String getMemberName() 
    {
        return memberName;
    }
    public void setMemberType(Integer memberType) 
    {
        this.memberType = memberType;
    }

    public Integer getMemberType() 
    {
        return memberType;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setOutTradeNo(String outTradeNo) 
    {
        this.outTradeNo = outTradeNo;
    }

    public String getOutTradeNo() 
    {
        return outTradeNo;
    }
    public void setOrderNo(String orderNo)
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo()
    {
        return orderNo;
    }
    public void setResId(String resId) 
    {
        this.resId = resId;
    }

    public String getResId() 
    {
        return resId;
    }
    public void setIsAgree(Integer isAgree) 
    {
        this.isAgree = isAgree;
    }

    public Integer getIsAgree() 
    {
        return isAgree;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cooperateId", getCooperateId())
            .append("cooperateName", getCooperateName())
            .append("memberId", getMemberId())
            .append("memberName", getMemberName())
            .append("memberType", getMemberType())
            .append("companyName", getCompanyName())
            .append("title", getTitle())
            .append("type", getType())
            .append("price", getPrice())
            .append("content", getContent())
            .append("status", getStatus())
            .append("outTradeNo", getOutTradeNo())
            .append("orderNo", getOrderNo())
            .append("resId", getResId())
            .append("isAgree", getIsAgree())
            .append("createdTime", getCreatedTime())
            .append("updatedTime", getUpdatedTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
